import { Carousel } from 'antd'
import React, { Component } from 'react'
import './tss.css'
import img1 from './imgs/531shoujiao1.png'
import img2 from './imgs/529244011081.png'
import img3 from './imgs/pcTNTshoujiao1.png'
// console.log(img1);

let imgArrs = [
    {
        src: img1,
        alt: 'images-1',
    },
    {
        src: img2,
        alt: 'images-2',
    },
    {
        src: img3,
        alt: 'images-3',
    },
]

class ImgCom extends Component {

    render() {
        return <div className="box">
            <Carousel autoplay>
                {imgArrs.map((imgs, i) => <div key={i}>
                    <img className="imgs" src={imgs.src} alt="233" />
                </div>)}
            </Carousel>
        </div>
    }
}

export default ImgCom;